package com.wzh.house.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzh.common.utils.PageUtils;
import com.wzh.common.utils.Query;

import com.wzh.house.dao.RentLogDao;
import com.wzh.house.entity.RentLogEntity;
import com.wzh.house.service.RentLogService;


@Service("rentLogService")
public class RentLogServiceImpl extends ServiceImpl<RentLogDao, RentLogEntity> implements RentLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RentLogEntity> page = this.page(
                new Query<RentLogEntity>().getPage(params),
                new QueryWrapper<RentLogEntity>()
        );

        return new PageUtils(page);
    }

}